@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './g-index.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 400;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

.app-container {
  padding: 20px;
}

/* input start */
@mixin com-webkit-autofill {
  -webkit-text-fill-color: #333 !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  background-color: transparent;
  background-image: none;
  transition: background-color 50000s ease-in-out 0s;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  @include com-webkit-autofill;

  &:hover,
  &:focus,
  &:active {
    @include com-webkit-autofill;
  }
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

/* 字体换行 start */
//默认: 以单词作为换行依据
.word_wrap__break_word {
  word-break: initial; //只对英文起作用,以字母作为换行依据。
  word-wrap: break-word; //只对英文起作用,以单词作为换行依据。
  white-space: inherit; //只对中文起作用,强制不换行。
}

//默认: 以字母作为换行依据
.word_break__break_all {
  word-break: break-all; //只对英文起作用,以字母作为换行依据。
  word-wrap: inherit; //只对英文起作用,以单词作为换行依据。
  white-space: inherit; //只对中文起作用,强制不换行。
}

/* 字体换行 end */

.filter-container {
  padding-bottom: 20px;

  display: flex;
  justify-content: space-between;
  grid-gap: 16px 20px;

  // bgc-fill
  .filter-left {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .filter-right {
    flex-shrink: 0;
    // margin-left: 20px;
  }

  .filter-item {}
}